import Vue from 'vue'
import App from './App.vue'
import './assets/css/common.less'
import iView from 'view-design';
import 'view-design/dist/styles/iview.css';
import './assets/style/my-theme.less';
import axios from './api/axios.js';
import store from './store/index'
import router from '../src/router';
import 'xe-utils';
import VXETable from 'vxe-table';
import 'vxe-table/lib/style.css';

Vue.config.productionTip = false
VXETable.setup({
	table: {
		scrollX: {
        	gt: 60
        },
        scrollY: {
        	gt: 100
        }
	},
	list: {
        scrollY: {
        	gt: 100
        }
	}
})

Vue.use(iView);
Vue.use(VXETable);
Vue.prototype.iView = iView;
Vue.prototype.$Message.config({
  top: 220,
  duration: 5
});
window.$Message = Vue.prototype.$Message
Vue.prototype.$axios = axios;
window.$axios = axios;

window.vm = new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
